import { WeaPopoverHrm, WeaLocaleProvider } from 'ecCom';
import Main from './main';

export default class Home extends React.Component {
  render() {
    console.log(this.props.children);
    return (
      <div style={{ height: '100%' }}>
        <WeaPopoverHrm ecId={`${this && this.props && this.props.ecId || ''}_WeaPopoverHrm@9qjg6t`} />
        <WeaLocaleProvider ecId={`${this && this.props && this.props.ecId || ''}_WeaLocaleProvider@3c9m7b`}>
          <Main ecId={`${this && this.props && this.props.ecId || ''}_Main@mu3wsh`}>
            {this.props.children}
          </Main>
        </WeaLocaleProvider>
      </div>
    );
  }
}
